/*--------------------------------------------------------------------------------
 * Adaptive Intelligence - Foundation Framework Class Library
 * Version 2.00
 * 
 * AI Data Format Exception Class
 *      Provides an exception definition for cases where A.I. formatted files
 * encounter an invalid data or data format error.
 *------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
 * System Imports
 *------------------------------------------------------------------------------*/
using System;

namespace Adaptive.Foundation.IO
{
    /// <summary>
    /// Provides an exception definition for cases where A.I. formatted files
    /// encounter an invalid data or data format error.
    /// </summary>
    public class AiDataFormatException : System.IO.IOException
    {
        /*--------------------------------------------------------------------------------
         * Private Constants Declarations
         *------------------------------------------------------------------------------*/
        #region Private Constants Declarations

        private const string MESSAGE = "AI Data Format Error: Data was read or stored incorrectly.";

        #endregion

        /*--------------------------------------------------------------------------------
         * Constructor / Dispose / Destructor Methods
         *------------------------------------------------------------------------------*/
        #region Constructor / Dispose / Destructor Methods
        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        /// <remarks>
        /// This is the default constructor.
        /// </remarks>
        public AiDataFormatException()
            : base(MESSAGE)
        {
        }
        #endregion
    }
}
